package com.net.xpay.admin.vo;

import com.net.xpay.common.enums.partner.WithdrawStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 合伙人提现记录
 *
 anno
 */
@Getter
@Setter
@NoArgsConstructor
public class PartnerWithdrawRecordVo {
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(notes = "合伙人编号")
    private Long partnerId;

    @ApiModelProperty(notes = "支付状态")
    private WithdrawStatus status;

    @ApiModelProperty(notes = "线下转账")
    private Integer isOffline;

    @ApiModelProperty(notes = "支付宝实名")
    private String alipayName;

    @ApiModelProperty(notes = "支付宝收款账号")
    private String alipayAccount;

    //金额相关字段
    @ApiModelProperty(notes = "转账金额")
    private Long transferMoney;

    @ApiModelProperty(notes = "系统转账时间或者关闭时间")
    private LocalDateTime endTime;

    @ApiModelProperty(notes = "备注")
    private String remark;

    /**
     * 关联数据
     */
    @ApiModelProperty(notes = "变化前的金额 分")
    private Long beforeAmount;

    @ApiModelProperty(notes = "变化后的金额 分")
    private Long afterAmount;
}
